package com.example.industry.dao;

import com.example.industry.entity.Project;
import com.example.industry.enums.Roles;

import java.sql.ResultSet;

public interface ProjectDao {
    Project findById(Integer id);
    Boolean deleteById(Integer id);
    Boolean update(Project project);
    Boolean addProject(Project project);
    Boolean addMember(Integer projectId, Integer userId, String description, Roles role);
    Boolean deleteMember(Integer projectId,Integer userId);
    ResultSet findMembersByProjectId(Integer projectId);
}
